package com.zhou.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

/**
 * @Description : 用户数据
 * @Author : zyy
 * @Date: 2024/7/19  15:21
 */
@Data
public class UserInfo {
    @Parameter(description = "用户id")
    @TableId("id")
    private String id;

    @Parameter(description = "用户名")
    @TableField("user_name")
    private String userName;

    @Parameter(description = "用户密码")
    @TableField("password")
    private String password;

    @Parameter(description = "用户头像")
    @TableField("avatar")
    private String avatar;

    @Parameter(description = "用户手机号")
    @TableField("phone")
    private String phone;
}
